
import request from '../utils/request'

/*获取菜单*/ 
export function getMenus(params){
  return request({
    method:'get',
    url:'menus',
    params
  })
}

/*获取权限列表*/ 
export function getRights(type){
  return request({
    method:'get',
    url:'rights/'+type
  })
}
